<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>Document</title>

    <style>

        * {
            margin: 0;
            padding: 0;
        }

        .container{
            width: 890px;
            height: 523px;
            margin: 20px auto;
            position: relative;
            cursor: pointer;
            overflow: hidden;
        }

        .mask{
            width: 890px;
            height: 523px;
            text-align: center;
            line-height: 523px;
            font-size: 85px;
            margin: 0 auto;
            background-color: black;
            color: white;
            opacity: 0;
            position: absolute;
            top: 0;
            left: 0; 
            transition: 1.5s linear;
            font-family: "Futura PT";
        }
 
        img{
            transition: 1.5s linear;
        } 

        .container:hover img{ 
            transform: scale(1.6) ;
        }

        .container:hover .mask{
            opacity: 0.6; 
        }
    </style>
</head>

<body>
    <div class="container">
        <img src="../img/xuzhou.jpeg" alt="徐州">
        <div class="mask">徐州雪景</div>
    </div>
</body>                                  
</html> 